package org.jeecg.modules.lab.sample.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 样品流转记录表
 * @Author: jeecg-boot
 * @Date:   2023-08-08
 * @Version: V1.0
 */
@Data
@TableName("lab_sample_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lab_sample_record对象", description="样品流转记录表")
public class LabSampleRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**实验项目id*/
    @Excel(name = "实验项目id", width = 15)
    @ApiModelProperty(value = "实验项目id")
    private java.lang.String itemId;
    /**实验项目名称*/
    @Excel(name = "实验项目名称", width = 15)
    @ApiModelProperty(value = "实验项目名称")
    private java.lang.String itemName;
	/**样品id*/
	@Excel(name = "样品id", width = 15)
    @ApiModelProperty(value = "样品id")
    private java.lang.String samId;
	/**样品编号*/
	@Excel(name = "样品编号", width = 15)
    @ApiModelProperty(value = "样品编号")
    private java.lang.String samNum;
	/**样品名称*/
	@Excel(name = "样品名称", width = 15)
    @ApiModelProperty(value = "样品名称")
    private java.lang.String samName;
    /**入库/移交/消耗/回收/处置量*/
    @Excel(name = "入库/移交/消耗/回收/处置量", width = 15)
    @ApiModelProperty(value = "入库/移交/消耗/回收/处置量")
    private java.lang.Double samQuantity;
    /**发样人*/
    @Excel(name = "发样人", width = 15)
    @ApiModelProperty(value = "发样人")
    private java.lang.String sendPerson;
    /**收样人*/
    @Excel(name = "收样人", width = 15)
    @ApiModelProperty(value = "收样人")
    private java.lang.String receivePerson;
	/**流转标识*/
	@Excel(name = "流转标识", width = 15)
    @ApiModelProperty(value = "流转标识")
    private java.lang.String recordMark;
	/**操作人员*/
	@Excel(name = "操作人员", width = 15)
    @ApiModelProperty(value = "操作人员")
    private java.lang.String operatePerson;
	/**流转时间*/
	@Excel(name = "流转时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "流转时间")
    private java.util.Date recordTime;
	/**流转描述*/
	@Excel(name = "流转描述", width = 15)
    @ApiModelProperty(value = "流转描述")
    private java.lang.String recordRemark;
    /**样品类型*/
    @Excel(name = "样品类型", width = 15)
    @ApiModelProperty(value = "样品类型")
    private java.lang.String samType;
    /**业务id*/
    @Excel(name = "业务id", width = 15)
    @ApiModelProperty(value = "业务id")
    private java.lang.String busId;
    /**数据同步标识*/
    @ApiModelProperty(value = "数据同步标识")
    private java.lang.String synFlag;
}
